ASP.NET MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ListBox<T> Class / ItemRole Property

In This Topic
    ItemRole Property
    In This Topic
    Gets or sets the value of the "role" attribute added to the list items.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute("option")>
    Public Property ItemRole As String
    [DefaultValue("option")]
    public string ItemRole {get; set;}
    Remarks
    The default value for this property is "option".
    See Also